<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>电子合同申请</title>

    <!--引入本地 element-ui 的样式，-->
    <link rel="stylesheet" href="/admin/plugin/element-ui/index.css">
    <script type="text/javascript" src="/admin/js-css/js/vue.min.js"></script>
    <script type="text/javascript" src="/admin/plugin/element-ui/index.js"></script>

    <!--    引入Layui组件-->
    <link rel="stylesheet" href="/admin/plugin/layui/dist/css/layui.css" tppabs="http://res.layui.com/layui/dist/css/layui.css"  media="all">
    <script src="/admin/plugin/layui/dist/layui.js" charset="utf-8"></script>

    <script type="text/javascript" src="/admin/js-css/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/admin/js-css/js/mx1.0.js?v=1.1.1"></script>


</head>
<body>

    <div id="app">
        <input v-model="inputtext"  autofocus="autofocus" id="cur" />
    </div>

    <script>

        /**
         * 将光标定死在扫码的输入框中
         */
        document.addEventListener("mousedown", function (e) {
            if (e.target.id !== "cur") {
                e.preventDefault()
            }
        }, false);


        var vm = new Vue({
           el:"#app",
           data:{
               formdata:{},
               inputtext:"",
           },
           created(){

           },
            methods:{

            }
        });
    </script>
</body>
</html>